<extend name="./Public/layout/default.html"/>

<block name="top">
    <ul class="el-menu el-menu--horizontal el-menu--dark">
        <a href="{:U('/Admin/main')}"><li class="el-menu-item">主页</li></a>
        <a href="{:U('/Admin/shop')}"><li class="el-menu-item">商品管理</li></a>
        <a href="{:U('/Admin/Bike')}"><li class="el-menu-item">订单管理</li></a>
        <a href="{:U('/Admin/Emtpy/index')}"><li class="el-menu-item">退出登录</li></a>
    </ul>
</block>

<block name="title">所有用户
    <a href="{:U('/Admin/Hui')}">查看所有会员</a><a href="{:U('/Admin/Fei')}">查看非会员</a>
</block>

<block name="content">
    <table class="table">
        <tr>
            <th>姓名</th>
            <th>电话</th>
            <th>等级</th>
            <th>余额</th>
            <th>&nbsp;</th>
        </tr>
        <!--<php>var_dump($name)</php>-->
        <foreach name="name" item="names">
                <tr>
                    <td>{$names.name}</td>
                    <td>{$names.phone}</td>
                    <td>{$names.grade}</td>
                    <td>{$names.money}</td>
                    <td><a href="{:U('/Admin/informa')}?id={$names.idi}">查看购买商品</a></td>
                </tr>
        </foreach>
    </table>
</block>